package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.AccountInfoMapper;
import com.university.trade.entity.AccountInfo;
import com.university.trade.service.AccountInfoService;

public class AccountInfoServiceImpl implements AccountInfoService {
	@Resource
	private AccountInfoMapper accountInfoMapper;
	@Override
	public int deleteByPrimaryKey(String accountId) {
		return this.accountInfoMapper.deleteByPrimaryKey(accountId);
	}
	@Override
	public int insert(AccountInfo record) {
		return this.accountInfoMapper.insert(record);
	}

	@Override
	public int insertSelective(AccountInfo record) {
		return this.accountInfoMapper.insertSelective(record);
	}

	@Override
	public AccountInfo selectByPrimaryKey(String accountId) {
		return this.accountInfoMapper.selectByPrimaryKey(accountId);
	}

	@Override
	public int updateByPrimaryKeySelective(AccountInfo record) {
		return this.accountInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(AccountInfo record) {
		return this.accountInfoMapper.updateByPrimaryKey(record);
	}

}
